package com.API.dal.providers;

import com.API.dal.entities.Incomes;
import com.API.dal.entities.Objects;

import java.util.List;

/**
 * Интерфейс управления заказчиками
*/
public interface CustomerProvider {
    void addCustomer(Objects customer);
    void updateCustomer(Objects customer);
    List<Objects> getCustomers();
    List<Objects> getCustomerProject(int customer_id);
    List<Incomes> getCustomerIncomes(int customer_id);
    List<Incomes> getCustomerIncomes(String customer_name);
    Objects getCustomerById(int id);
    Objects getCustomerByName(String name);

}
